import {Request, Response, NextFunction} from "express";
import {CurrentUser} from "../utils";

export const checkCurrentUser = async (req: Request, res: Response, next: NextFunction) => {
  const {currentUser} = req.body;
  if (!(currentUser as CurrentUser).username || !(currentUser as CurrentUser).userId) {

  } else {
    next();
  }
};



